package com.jecy.oauth.service.impl;

import com.jecy.oauth.dao.OauthAccountDao;
import com.jecy.oauth.domain.OauthAccount;
import com.jecy.oauth.service.OauthAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by huijun on 17/2/8.
 */
@Service("OauthAccountServiceImpl")
public class OauthAccountServiceImpl implements OauthAccountService {
    @Autowired
    private OauthAccountDao accountDao;

    @Override
    public OauthAccount selectAccountById(int id) {

        return accountDao.selectAccountById(id);

    }
}
